package com.gitee.melin.bee.core.service;

import com.gitee.melin.bee.core.hibernate5.HibernateBaseDao;
import com.gitee.melin.bee.core.model.User;
import com.gitee.melin.bee.core.persistence.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/** Created by admin on 2017/2/26. */
@Service
public class UserService extends BaseServiceImpl<User, Long> {

    @Autowired
    private UserDao userDao;

    @Override
    public HibernateBaseDao getHibernateBaseDao() {
        return userDao;
    }
}
